how to find vector in cartesian form